DRYD-1687: Load NAGPRA reports in only core and anthro #453
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this do?
This moves the report config for the new NAGPRA reports into the core and anthro tenant bindings. By doing this we ensure that the reports are only available for those tenants, as they are the only tenants with the procedures enabled for those reports.
Why are we doing this? (with JIRA link)
Jira: https://collectionspace.atlassian.net/browse/DRYD-1687
In tenants other than core/anthro, the NAGPRA reports can be selected from the Tools > Reports interface. This has a modal which allows a user to select records to run the report on with a record type that does not exist in the tenant, and as such causes an error in the ui. Ideally we need error handling in the ui as well, but for the time being we've decided to fix things here for now.
How should this be tested? Do these changes have associated tests?
${CSPACE_JEE_SERVER}/cspace/config/services/tenants/
Dependencies for merging? Releasing to production?
None
Has the application documentation been updated for these changes?
No
Did someone actually run this code to verify it works?
@mikejritter ran the build and compared the tenant bindings